package polimi.sc.expoquest.storage.model;
/**
 * This class represents an Option of a single game such as Trivia.
 * But this can be used for any kind of game that provides a set of options from
 * which the user must select ONE answer 
 * @author Monica Lozano
 */
public class GameOption {
	
	//----------------
	//ATTRIBUTES
	//----------------
	/**
	 * ID in the database, this id is related to the _id column
	 * of the table, and this is automatically autoincremented
	 */
	private int id;
	/**
	 * Is the option's text that is managed in the database
	 */
	private String option;
	
	//----------------
	//Constructor
	//----------------
	
	public GameOption(){}
	/**
	 * The constructor of the class
	 * @param id: The id assigned by the android framework when the row is created
	 * @param option: The option that can be assigned to a game
	 */
	public GameOption(int id, String option)
	{
		this.id = id;
		this.option = option;
	}
	//-------------------
	//GETTERS AND SETTERS
	//-------------------
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the option
	 */
	public String getOption() {
		return option;
	}

	/**
	 * @param option the option to set
	 */
	public void setOption(String option) {
		this.option = option;
	}
	
	
	
}
